
// 组织机构管理页面路由
import Org from "@/views/org/index.vue"

export default  {
    path: "/org",
    component: Org,
    children: [
        {
            path: "", rediect: "/org/organization"
        },
        //组织机构管理
        {
            path: "/org/organization",
            children:[
                {
                    path: "", rediect: "/org/organization/account"
                },
                {
                    path: "/org/organization/account",
                    name: "account",
                },
                {
                    path: "/org/organization/moveDept",
                    name: "moveDept"
                }
            ]
        },
        //岗位角色管理
        {
            path: "/org/role",
            children:[
                {
                    path: "/org/role/post",
                    name: "post",
                },
                {
                    path: "/org/role/level",
                    name: "level",
                }, {
                    path: "/org/role/role",
                    name: "role"
                },
            ]
        },
        {
            path: "/org/post",
        },
        {
            path: "/org/level",
        },
        {
            path: "/org/member",
        },
        {
            path: "/org/business",
        },
        {
            path: "/org/team",
        },
        {
            path: "/org/conPost",
        }
    ]
}
